{% extends 'base.html' %}
{% block content %}
<h2>销户列表</h2>
<table class="table">
    <thead>
        <tr>
            <th>卡ICCID</th>
            <th>销户原因</th>
            <th>销户时间</th>
            <th>备注</th>
        </tr>
    </thead>
    <tbody>
        {% for d in deactivations %}
        <tr>
            <td>{{ d.card.iccid }}</td>
            <td>{{ d.reason }}</td>
            <td>{{ d.deactivated_at }}</td>
            <td>{{ d.remark }}</td>
        </tr>
        {% endfor %}
    </tbody>
</table>
{% endblock %}
